package com.dkm.dkmproject.domain;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

/**
 * <p>
 * 服务表
 * </p>
 *
 * @author 周佳佳
 * @since 2020-04-26
 */
@TableName("service_tb")
public class ServiceTb extends Model<ServiceTb> {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(value="scb_id", type= IdType.AUTO)
	private Integer scbId;
	/**
	 * 主键
	 */
	@TableField("sy_id")
	private Integer syId;
	/**
	 * 服务方名称
	 */
	@TableField("scb_name")
	private String scbName;
	/**
	 * 服务方地址
	 */
	@TableField("scb_address")
	private String scbAddress;
	/**
	 * 服务区域
	 */
	@TableField("scb_area")
	private String scbArea;
	/**
	 * 联系电话
	 */
	@TableField("scb_phone")
	private String scbPhone;
	/**
	 * 服务详情
	 */
	@TableField("scb_details")
	private String scbDetails;
	/**
	 * 服务星级
	 */
	@TableField("scb_star")
	private Integer scbStar;
	/**
	 * 服务合同
	 */
	@TableField("scb_file")
	private String scbFile;
	/**
	 * 服务费用
	 */
	@TableField("scb_money")
	private BigDecimal scbMoney;
	/**
	 * 图片1
	 */
	private String exp1;
	/**
	 * 拓展字段2
	 */
	private String exp2;
	/**
	 * 图片2
	 */
	private String exp3;

	/**
	 * 拓展字段4
	 */
	private String exp4;
	/**
	 * 1为直接购买 2为合同购买 3为拍照购买
	 */
	private String exp5;
	/**
	 * 图片3
	 */
	private String exp6;
	/**
	 * 图片4
	 */
	private String exp7;

	private MultipartFile file1;
	/**
	 * 工作年龄
	 */
	private String scbAge;
	private String syName;
	private MultipartFile fileOne;
	private MultipartFile fileTwo;
	private MultipartFile fileThree;
	private MultipartFile fileFour;

	public MultipartFile getFileOne() {
		return fileOne;
	}

	public void setFileOne(MultipartFile fileOne) {
		this.fileOne = fileOne;
	}

	public MultipartFile getFileTwo() {
		return fileTwo;
	}

	public void setFileTwo(MultipartFile fileTwo) {
		this.fileTwo = fileTwo;
	}

	public MultipartFile getFileThree() {
		return fileThree;
	}

	public void setFileThree(MultipartFile fileThree) {
		this.fileThree = fileThree;
	}

	public MultipartFile getFileFour() {
		return fileFour;
	}

	public void setFileFour(MultipartFile fileFour) {
		this.fileFour = fileFour;
	}

	public String getExp4() {
		return exp4;
	}

	public void setExp4(String exp4) {
		this.exp4 = exp4;
	}

	public String getExp5() {
		return exp5;
	}

	public void setExp5(String exp5) {
		this.exp5 = exp5;
	}

	public String getExp6() {
		return exp6;
	}

	public void setExp6(String exp6) {
		this.exp6 = exp6;
	}

	public String getExp7() {
		return exp7;
	}

	public void setExp7(String exp7) {
		this.exp7 = exp7;
	}

	public String getScbAge() {
		return scbAge;
	}

	public void setScbAge(String scbAge) {
		this.scbAge = scbAge;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public MultipartFile getFile1() {
		return file1;
	}

	public void setFile1(MultipartFile file1) {
		this.file1 = file1;
	}

	public Integer getScbId() {
		return scbId;
	}

	public void setScbId(Integer scbId) {
		this.scbId = scbId;
	}

	public Integer getSyId() {
		return syId;
	}

	public void setSyId(Integer syId) {
		this.syId = syId;
	}

	public String getScbName() {
		return scbName;
	}

	public void setScbName(String scbName) {
		this.scbName = scbName;
	}

	public String getScbAddress() {
		return scbAddress;
	}

	public void setScbAddress(String scbAddress) {
		this.scbAddress = scbAddress;
	}

	public String getScbArea() {
		return scbArea;
	}

	public void setScbArea(String scbArea) {
		this.scbArea = scbArea;
	}

	public String getScbPhone() {
		return scbPhone;
	}

	public void setScbPhone(String scbPhone) {
		this.scbPhone = scbPhone;
	}

	public String getScbDetails() {
		return scbDetails;
	}

	public void setScbDetails(String scbDetails) {
		this.scbDetails = scbDetails;
	}

	public Integer getScbStar() {
		return scbStar;
	}

	public void setScbStar(Integer scbStar) {
		this.scbStar = scbStar;
	}

	public String getScbFile() {
		return scbFile;
	}

	public void setScbFile(String scbFile) {
		this.scbFile = scbFile;
	}

	public BigDecimal getScbMoney() {
		return scbMoney;
	}

	public void setScbMoney(BigDecimal scbMoney) {
		this.scbMoney = scbMoney;
	}

	public String getExp1() {
		return exp1;
	}

	public void setExp1(String exp1) {
		this.exp1 = exp1;
	}

	public String getExp2() {
		return exp2;
	}

	public void setExp2(String exp2) {
		this.exp2 = exp2;
	}

	public String getExp3() {
		return exp3;
	}

	public void setExp3(String exp3) {
		this.exp3 = exp3;
	}

	public String getSyName() {
		return syName;
	}

	public void setSyName(String syName) {
		this.syName = syName;
	}

	@Override
	protected Serializable pkVal() {
		return this.scbId;
	}

	@Override
	public String toString() {
		return "ServiceTb{" +
				"scbId=" + scbId +
				", syId=" + syId +
				", scbName=" + scbName +
				", scbAddress=" + scbAddress +
				", scbArea=" + scbArea +
				", scbPhone=" + scbPhone +
				", scbDetails=" + scbDetails +
				", scbStar=" + scbStar +
				", scbFile=" + scbFile +
				", scbMoney=" + scbMoney +
				", exp1=" + exp1 +
				", exp2=" + exp2 +
				", exp3=" + exp3 +
				"}";
	}
}
